﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Create.Master" Inherits="System.Web.Mvc.ViewPage<Langben.DAL.ts_lenddetail>" %>

<%@ Import Namespace="Common" %>
<%@ Import Namespace="Models" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CurentPlace" runat="server">
      创建 借出详细表
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <fieldset>
        <legend>
            <input class="a2 f2" type="submit" value="创建" />
            <input class="a2 f2" type="button" onclick="BackList('ts_lenddetail')" value="返回" />
        </legend>
        <div class="bigdiv">
                 
            <div class="editor-label">
                <%: Html.LabelFor(model => model.c_type) %>：
            </div>
            <div class="editor-field">
                <%: Html.EditorFor(model => model.c_type) %>
                <%: Html.ValidationMessageFor(model => model.c_type) %>
            </div>     
            <div class="editor-label">
                <%: Html.LabelFor(model => model.i_no) %>：
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.i_no, new {  onkeyup = "isInt(this)", @class="text-box single-line" })%>
                <%: Html.ValidationMessageFor(model => model.i_no) %>
            </div>     
            <div class="editor-label">
                <%: Html.LabelFor(model => model.i_num) %>：
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.i_num, new {  onkeyup = "isInt(this)", @class="text-box single-line" })%>
                <%: Html.ValidationMessageFor(model => model.i_num) %>
            </div>     
            <div class="editor-label">
                <%: Html.LabelFor(model => model.dt_dt) %>：
            </div>
            <div class="editor-field">
                <%: Html.TextBox("dt_dt", ((Model != null && Model.dt_dt != null) ? Model.dt_dt.ToString().AsDateTime().ToString("yyyy-MM-dd") : ""), new { style = "width: 214px;", @class="easyui-datebox" })%>
                <%: Html.ValidationMessageFor(model => model.dt_dt) %>
            </div>     
            <div class="editor-label">
                <%: Html.LabelFor(model => model.dt_last) %>：
            </div>
            <div class="editor-field">
                <%: Html.TextBox("dt_last", ((Model != null && Model.dt_last != null) ? Model.dt_last.ToString().AsDateTime().ToString("yyyy-MM-dd") : ""), new { style = "width: 214px;", @class="easyui-datebox" })%>
                <%: Html.ValidationMessageFor(model => model.dt_last) %>
            </div>     
            <div class="editor-label">
                <%: Html.LabelFor(model => model.c_code) %>：
            </div>
            <div class="editor-field">
                <%: Html.EditorFor(model => model.c_code) %>
                <%: Html.ValidationMessageFor(model => model.c_code) %>
            </div>     
            <div class="editor-label">
                <%: Html.LabelFor(model => model.f_quant) %>：
            </div>
            <div class="editor-field">
                <%: Html.EditorFor(model => model.f_quant) %>
                <%: Html.ValidationMessageFor(model => model.f_quant) %>
            </div>     
            <div class="editor-label">
                <%: Html.LabelFor(model => model.f_quant_back) %>：
            </div>
            <div class="editor-field">
                <%: Html.EditorFor(model => model.f_quant_back) %>
                <%: Html.ValidationMessageFor(model => model.f_quant_back) %>
            </div>     
            <div class="editor-label">
                <%: Html.LabelFor(model => model.c_comment) %>：
            </div>
            <div class="editor-field">
                <%: Html.EditorFor(model => model.c_comment) %>
                <%: Html.ValidationMessageFor(model => model.c_comment) %>
            </div>
        </div>
    </fieldset>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="HeadContent" runat="server">
    
    <script type="text/javascript">

        $(function () {
            

        });
              

    </script>
</asp:Content>

